const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/12O3tkvB2FVGIa.js","assets/bg5wn-As1QRtOq.js","assets/CtbHscGXagutd.js","assets/CtybWkkwagutd.js","assets/2PUedpbZ2IPdvA.css","assets/Dbo4x1w21esOcA.js","assets/C-UatXJz3yM15e.js","assets/Bz2936FN3aD96J.js","assets/BokZeiWK4swc5U.js","assets/CQ0L9Peu42NtZh.css"])))=>i.map(i=>d[i]);
import{_ as k}from"./CtybWkkwagutd.js";import{d as v,b as i,o as s,a,f as p,u as t,Q as f,e as c,t as m,bg as b,c as n,_ as l,s as r,ab as g,F as d,ae as C,g as u,bj as y,bk as B,ar as x,ah as V}from"./CtbHscGXagutd.js";const z={class:"app-list-item-inner app-list-item-border"},A={class:"app-list-item-comment"},D={class:"app-list-item-date"},L={class:"app-list-item-date-detail"},N={class:"app-list-item-states"},w={key:0,class:"app-list-item-contact"},E={key:1,class:"app-list-item-category"},P={class:"app-list-item-amount-original"},T={class:"app-list-item-number"},F={class:"app-list-item-amount"},I={class:"app-list-item-number"},R=["data-credit"],O=v({__name:"app-list-item-thumbnail",props:{item:{},selected:{type:Boolean},selectedLast:{type:Boolean},size:{}},setup(e){const h=f(()=>k(()=>import("./12O3tkvB2FVGIa.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])));return(S,o)=>(s(),i("div",{class:V(["app-list-item app-list-item-thumbnail",{selected:e.selected,selectedLast:e.selectedLast}]),style:x({height:`${e.size}px`})},[a("div",z,[p(t(h),{"asset-url":e.item.asset},null,8,["asset-url"]),a("div",A,[a("div",D,[a("div",L,m(t(b)(e.item?.date)),1),a("div",N,[e.item.star?(s(),n(t(l),{key:0,name:"star"})):e.item.confirmed?c("",!0):(s(),n(t(l),{key:1,name:"unconfirmed"}))])]),e.item?.contact?(s(),i("div",w,m(t(r).workspace?.items?.[e.item.contact]?.title??"-"),1)):c("",!0),e.item?.category?(s(),i("div",E,m(t(r).workspace?.items?.[e.item.category]?.title??"-"),1)):c("",!0),t(g).silver?(s(),i(d,{key:2},[a("div",P,[t(C)!==e.item.currency?(s(),i(d,{key:0},[u(m(e.item.currency)+" ",1),a("span",T,m(t(y)(e.item.gross)),1)],64)):(s(),i(d,{key:1},[u("   ")],64))]),o[0]||(o[0]=a("div",null," ",-1)),a("div",F,[a("div",I,m(t(y)(t(B)(e.item.gross,e.item.currency,e.item.exchangeRate))),1),a("div",{class:"app-list-item-credit","data-credit":!!e.item.credit},[e.item.credit?(s(),n(t(l),{key:0,name:"credit"})):c("",!0),e.item.credit?c("",!0):(s(),n(t(l),{key:1,name:"debit"}))],8,R)])],64)):c("",!0)])])],6))}});export{O as default};